package main

import (
	"fmt"
)

type Phone interface {
	call()
}

type NokiaPhone struct {
}

func (nokiaphone NokiaPhone) call() {
	fmt.Printf("I am Nokia \n")
}

type IPhone struct {
}

func (iPhone IPhone) call() {
	fmt.Printf("I am iPhone \n")
}
func main() {
	var n_phone Phone
	n_phone = new(NokiaPhone)
	n_phone.call()

	var i_phone Phone
	i_phone = new(IPhone)
	i_phone.call()

}
